﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace TS2015.Controllers
{
    public class CommonController : Controller
    {
        // GET: Common
        public PartialViewResult Banner()
        {
            return PartialView();
        }

        public PartialViewResult Menu()
        {
            return PartialView();
        }
        public PartialViewResult NavbarLeft()
        {
            return PartialView();
        }
        public PartialViewResult Slide()
        {
            return PartialView();
        }
        public PartialViewResult Footer()
        {
            return PartialView();
        }
        public ActionResult LockScreen()
        {
            return View();
        }
        public ActionResult Login(int? id)
        {
            return View();
        }

        [HttpPost]
        public ActionResult Login(string Username, string Password)
        {
            ViewBag.Username = Username + " "+ Password;
            return RedirectToRoute("Admin", new {controller = "Home", action = "Index", id = UrlParameter.Optional });
            //return View();

        }
        public ActionResult PhieuDangKy()
        {            
                return View("PhieuDangKy");
        }

         public ActionResult PhieuHoanThanh()
        {
            return View("PhieuHoanThanh");
        }
         public ActionResult Profile()
         {
             return View("Profile");
         }
    }
}

